


let a = ''
let b = ''
let c = ''
let srv = ''

let host = location.host

if (host == 'busi.xueerqin.net') {
    a = 'https://api.xueerqin.net' // 正式
    c = "wss://websocket.xueerqin.net"
    srv = 'https://srv.xueerqin.net'  
} else if (host == 's-busi.xueerqin.net') {

    a = 'https://s-api.xueerqin.net'
    c = "wss://s-websocket.xueerqin.net"
    srv = 'https://ssrv.xueerqin.net'  
} else if (host == 't-busi.xueerqin.net') {

    a = 'https://t-api.xueerqin.net'
    c = "wss://t-websocket.xueerqin.net"
    srv = 'https://tsrv.xueerqin.net'  
}
 else {
    // a= 'http://192.168.66.218:9551'  
    // c= 'ws://192.168.66.218:9553'

    a = 'https://t-api.xueerqin.net'
    c = "wss://t-websocket.xueerqin.net"
    srv = 'https://tsrv.xueerqin.net'  
}

export const appUrl = a
export const bppUrl = a
export const wsUrl = c

export const fytestUrl = srv + '/t-api-fytest'
export const fileapiUrl = 'https://fileapi.xueerqin.net'



